package com.sihan.swvp.dao.sys;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.sihan.swvp.dao.BaseDao;

public interface PrivUserDao extends BaseDao{

	public List<Map<String, Object>> getMenuTree(Map<String,Object> params);
	
	public List<Map<String, Object>> getRole(@Param("user")String user);

	public void addPriv(Map<String,Object> params);
	
	public void addPrivRole(Map<String,Object> params);

	public void deleteAllPriv(@Param("user")String user);
	
	public void deleteAllPrivMenu(@Param("user")String user);
	
	public void deleteAllPrivRole(@Param("user")String user);
}
